module.exports = {
  apps: [{
    name: 'gateway-core',
    script: 'dist/index.js',
    listen_timeout: 15000,
    instances: '2',
    autorestart: false,
    exec_mode: 'cluster',
    max_memory_restart: '4G',
    output: 'logs/out.log',
    error: 'logs/error.log',
    log_date_format: 'YYYY-MM-DD HH:mm:ss.SSS',
    env: {
      NODE_ENV: 'development',
    },
    env_production: {
      NODE_ENV: 'production',
    },
  }],
};
